package com.atguigu.common.exception;

/**
 * @ClassName BizCodeEnum
 * @Author zhongjunjie
 * @Date 2020/11/30 7:28 下午
 * @Version 1.0
 */
public enum BizCodeEnum {
    VALID_EXCEPTION(10001,"参数格式校验异常"),
    UNKNOW_EXCEPTION(10000,"系统未知异常");

    private int code;
    private String msg;

    BizCodeEnum(int code,String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
